usb: dwc2: masquerade split-interrupt transfers#6936
Merged
pelwell merged 2 commits intoraspberrypi:rpi-6.12.yfrom Jul 8, 2025
Merged
usb: dwc2: masquerade split-interrupt transfers#6936pelwell merged 2 commits intoraspberrypi:rpi-6.12.yfrom
pelwell merged 2 commits intoraspberrypi:rpi-6.12.yfrom
Conversation
Masquerading Interrupt split transfers as Control puts the transfer into the non-periodic handler in the hub. This stops the hub dropping complete-split data in the microframe after a CSPLIT should have arrived, improving resilience to host IRQ latency. Devices are none the wiser - the handshake tokens are the same. Originally devised by Hans Petter Selasky @ FreeBSD. (v2: dwc2 needs an un-masquerade prior to channel interrupt handling) Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
Control Setup phase transfers needs an 8 byte maxpacket override, or drivers doing a GET with a small buffer as a split transaction would cause broken transfers. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
Contributor
|
GitHub notifications about status changes and pushes are hit and miss. |
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Jul 11, 2025
kernel: Add support for phy interrupts on BCM54213PE See: raspberrypi/linux#6942 kernel: usb: dwc2: masquerade split-interrupt transfers See: raspberrypi/linux#6936
popcornmix
added a commit
to raspberrypi/rpi-firmware
that referenced
this pull request
Jul 11, 2025
kernel: Add support for phy interrupts on BCM54213PE See: raspberrypi/linux#6942 kernel: usb: dwc2: masquerade split-interrupt transfers See: raspberrypi/linux#6936
sairon
added a commit
to home-assistant/operating-system
that referenced
this pull request
Aug 14, 2025
Raspberry Pi Linux update to 6.12.34 broken some USB devices, mostly USB-Serial converters connected to Yellow, but there are reports of some other peripherals connected to RPi boards too. This is a known RPi upstream issue [1] fixed by a PR [2] that's not been merged to RPi stable kernel yet. Applying patches from this PR fixes the issues. Fixes #4228, refs #4229 [1] raspberrypi/linux#6941 [2] raspberrypi/linux#6936
sairon
added a commit
to home-assistant/operating-system
that referenced
this pull request
Aug 14, 2025
Raspberry Pi Linux update to 6.12.34 broken some USB devices, mostly USB-Serial converters connected to Yellow, but there are reports of some other peripherals connected to RPi boards too. This is a known RPi upstream issue [1] fixed by a PR [2] that's not been merged to RPi stable kernel yet. Applying patches from this PR fixes the issues. Fixes #4228, refs #4229 [1] raspberrypi/linux#6941 [2] raspberrypi/linux#6936
mahabubul470
pushed a commit
to my-smart-homes/operating-system
that referenced
this pull request
Dec 23, 2025
Raspberry Pi Linux update to 6.12.34 broken some USB devices, mostly USB-Serial converters connected to Yellow, but there are reports of some other peripherals connected to RPi boards too. This is a known RPi upstream issue [1] fixed by a PR [2] that's not been merged to RPi stable kernel yet. Applying patches from this PR fixes the issues. Fixes home-assistant#4228, refs home-assistant#4229 [1] raspberrypi/linux#6941 [2] raspberrypi/linux#6936
|
Related: #7282 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second attempt at porting the dwc_otg hack to avoid dropped split transactions.
Transactions now "look OK" on the bus analyser but this needs more soak testing with different hub implementations.